package java6681.lesson08;

import java.util.Arrays;
import java.util.Scanner;

public class StringSort6681 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("输入字符串：");
        String line = sc.nextLine();
        String s = sort6681(line);
        System.out.println(s);
    }
    public  static String sort6681(String s){
        char[] ch = s.toCharArray();
        Arrays.sort(ch);
        String ss = new String(ch);
        return ss;
    }
}
